package com.geekhalo.admin.infra.menu;


import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.geekhalo.admin.domain.menu.MenuCommandRepository;
import com.geekhalo.admin.domain.menu.Menu;
import java.lang.Long;

@Repository("menuCommandRepository")
public interface JpaBasedMenuCommandRepository extends MenuCommandRepository,JpaRepository<Menu, Long> {
    @Override
    default Menu sync(Menu agg){
        return save(agg);
    }


}
